package 多态编程题1;

public class Animal {
    private String name;
    private int age;
    private String gender;

    public void eat(){
        System.out.println("Animal need to eat things");
    }
}
